﻿<UserControl x:Class="CPPEI.Coolzon.BrowserApp.MainViewControl.RecentVisit"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:src="clr-namespace:CPPEI.Coolzon.UI;assembly=CPPEI.Coolzon.UI"
             mc:Ignorable="d" 
             d:DesignHeight="36" d:DesignWidth="700">
    <Grid>
        <Grid.Background>
            <ImageBrush ImageSource="..\Images\nav2.jpg"/>
        </Grid.Background>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="0.8*"></ColumnDefinition>
            <ColumnDefinition Width="0.1*"></ColumnDefinition>
            <ColumnDefinition Width="0.1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <StackPanel x:Name="spPosition" Orientation="Horizontal">
            <StackPanel.Resources>
                <Style TargetType="TextBlock" x:Key="lblBase">
                    <!--<Setter Property="TextDecorations" Value="Baseline"/>-->
                    <Setter Property="VerticalAlignment" Value="Center"/>
                    <Setter Property="Cursor" Value="Hand"/>
                </Style>
            </StackPanel.Resources>
            <Image Source="/CPPEI.Coolzon.BrowserApp;component/Images/home.png" Width="14" Height="16" Margin="10,0,10,0" VerticalAlignment="Center"></Image>
            <TextBlock x:Name="tbPosition" Text="当前位置-首页" VerticalAlignment="Center"/>
            <StackPanel x:Name="spLayout" Orientation="Horizontal"></StackPanel>
        </StackPanel>
        
        <Button x:Name="btnSearch" Grid.Column="1"  Content="查 询" Visibility="Hidden"
               Width="70" Height="24" Background="Transparent" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,0,50,0" Cursor="Hand" Click="Button_Click"/>
        <Button x:Name="btnBack" Grid.Column="2"  Content="返 回" Visibility="Collapsed"
               Width="70" Height="24"  Background="Transparent" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,0,50,0" Cursor="Hand" Click="btnBack_Click"/>
    </Grid>
</UserControl>
